// with polyfills
import 'core-js/stable'
import 'regenerator-runtime/runtime'

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/'
import i18n from './locales'
import ProLayout from '@ant-design-vue/pro-layout'
import bootstrap from './core/bootstrap'
import './permission' // permission control
import './utils/filter' // global filter
import './global.less' // global style
import './global.scss'
import 'font-awesome/css/font-awesome.min.css'
Vue.prototype.$eventBus = new Vue()
Vue.config.productionTip = false
Vue.component('pro-layout', ProLayout)
new Vue({
  router,
  store,
  i18n,
  // init localstorage, vuex, Logo message
  created: bootstrap,
  render: h => h(App)
}).$mount('#app')
